
DEFINITION MODULE Printer;

EXPORT QUALIFIED PrintChar, PrintString, PrintStringMid, PrintLn, PrintTab,
                 PrintTabMid, OpenPrinter, ClosePrinter;

PROCEDURE PrintLn;

PROCEDURE PrintChar(c : CHAR);

PROCEDURE PrintString(str : ARRAY OF CHAR);

PROCEDURE PrintStringMid(str : ARRAY OF CHAR; beg,len : CARDINAL);

PROCEDURE PrintTab(tab : INTEGER; str : ARRAY OF CHAR);

PROCEDURE PrintTabMid(tab : INTEGER; str : ARRAY OF CHAR; beg,len : CARDINAL);

PROCEDURE OpenPrinter;

PROCEDURE ClosePrinter;

END Printer.
